package team.first.movieapiv2pro.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @Author: HAPPY
 * @Project_name: project
 * @Package_name: team.first.moiveapiv1.domain
 * @Date: 2021/11/25 11:01
 * @Description：
 */
@ApiModel(value = "user")
@Getter
@Setter
@ToString
@Accessors(chain = true)
public class User implements Serializable {
    @ApiModelProperty(value = "用户编号", example = "1001")
    private Integer id;

    @ApiModelProperty(value = "昵称", example = "冷芝士鸭")
    private String nickname;

    @ApiModelProperty(value = "邮箱", example = "12345@qq.com")
    private String email;

    @ApiModelProperty(value = "密码", example = "123456")
    private String password;

    @ApiModelProperty(value = "头像", example = "1001.jpg")
    private String avatar;

    @ApiModelProperty(value = "姓名", example = "张三")
    private String username;

    @ApiModelProperty(value = "身份", example = "1")
    private Integer roleType = 0;

    private static final long serialVersionUID = 1L;
}